.Page {
  display: flex;
  flex-direction: column;
  padding-bottom: 30vh;

  h2 {
    margin-bottom: 1rem;
  }
}

.Container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.Button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  margin: 0;
  outline: 0;
  border: 1px solid var(--color-gray-200);
  border-radius: 0.375rem;
  background-color: var(--color-gray-50);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: var(--color-gray-900);
  user-select: none;

  @media (hover: hover) {
    &:hover {
      background-color: var(--color-gray-100);
    }
  }

  &:active {
    background-color: var(--color-gray-100);
  }

  &:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: -1px;
  }
}

.IconButton {
  border-radius: 0;
}

.IconButton,
.Button {
  &:first-of-type {
    border-radius: 0.375rem 0 0 0.375rem;
  }

  &:last-of-type {
    border-radius: 0 0.375rem 0.375rem 0;
    border-right-style: solid;
  }
}

.PopoverSection {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;

  &:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-gray-200);
  }

  & button {
    padding: 0.25rem 0.75rem;
    background-color: var(--color-gray-200);
    border-radius: 4px;
    margin-top: 0.5rem;

    &:hover {
      background-color: var(--color-gray-300);
    }
  }
}
